package com.xdcplus.web.service.qa.impl;

import com.xdcplus.mp.service.impl.BaseServiceImpl;
import com.xdcplus.web.common.pojo.entity.qa.QaMtrlBatchReportScreen;
import com.xdcplus.web.common.pojo.vo.qa.QaMtrlBatchReportScreenVO;
import com.xdcplus.web.mapper.qa.QaMtrlBatchReportScreenMapper;
import com.xdcplus.web.service.qa.QaMtrlBatchReportScreenService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

/**
 * 质量结批报告-网板浆料统计(QaMtrlBatchReportScreen)表服务实现类
 *
 * @author Devin.Sang
 * @since 2024-01-24 11:44:51
 */
@Slf4j
@Service("qaMtrlBatchReportScreenService")
public class QaMtrlBatchReportScreenServiceImpl extends BaseServiceImpl<QaMtrlBatchReportScreenMapper, QaMtrlBatchReportScreen, QaMtrlBatchReportScreen, QaMtrlBatchReportScreenVO> implements QaMtrlBatchReportScreenService {

    @Autowired
    protected QaMtrlBatchReportScreenMapper qaMtrlBatchReportScreenMapper;

    @Override
    public List<QaMtrlBatchReportScreen> queryReportDetail(String reportCode, Timestamp startTime,
                                                           Timestamp endTime, String proSpec
            ) {
        return baseMapper.queryReportDetailForSlurry(reportCode, startTime, endTime, proSpec);
    }
}
